package mtons.cast.modules.persist.repository;

import mtons.cast.modules.persist.domain.Account;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.repository.Repository;

/**
 * Created by langhsu on 2017/10/13.
 */
public interface AccountRepository extends Repository<Account, Long> {
    Page<Account> findAll(Pageable pageable);
    Account findOneByUsername(String username);
}
